package com.qdc.datacenters.domain.vo.group;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.qdc.datacenters.domain.vo.BaseVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author danmo
 * @date 2024-03-04 23:46
 **/
@Schema
@Data
public class CorpGroupVo extends BaseVo {

    /**
     * 主键ID
     */

    @Schema(description = "主键ID")
    private Long id;


    /**
     * 群聊id
     */
    @Schema(description = "群聊id")
    private String chatId;


    /**
     * 群名
     */
    @Schema(description = "群名")
    private String groupName;


    /**
     * 群创建时间
     */
    @Schema(description = "群创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date addTime;


    /**
     * 群公告
     */
    @Schema(description = "群公告")
    private String notice;


    /**
     *
     */
    @Schema(description = "群主ID")
    private String owner;


    /**
     * 管理员id
     */
    @Schema(description = "管理员id")
    private String adminUserId;

    /**
     * 群聊类型 1-外部群聊 2-内部群聊
     */
    @Schema(description = "群聊类型 1-外部群聊 2-内部群聊")
    private Integer groupType;
    /**
     * 当前群成员版本号
     */
    @Schema(description = "当前群成员版本号")
    private String memberVersion;

    private List<CorpGroupMemberVo> memberList;
}
